﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="jsajax.aspx.cs" Inherits="WebApp.jsajax" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title></title>

    <script src="scripts/jquery-1.2.6-vsdoc.js" type="text/javascript"></script>

    <script src="scripts/jquery-1.2.6.js" type="text/javascript"></script>
    <script language="javascript" type="text/javascript">

        function p() {
            var outputDataUrl = "http://114.113.158.6:8009?callback=?";
            var postData = { surveyId: 2, questionId: 7, answer: "inputresearch",data:"test from terry" };
            jQuery.getJSON(outputDataUrl, postData, renderPaymentlogResearchFun); 

        }
      
        function renderPaymentlogResearchFun(responsedata)
        {
            alert(responsedata);
        }
    </script>
</head>
<body>
    <form id="form1" runat="server">
    <div>
    <a href="#" onclick="p();"> send </a>
    </div>
    </form>
</body>
</html>
